<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html>
	<head>
	 	<base href="<%=basePath%>">
		<meta charset="UTF-8">
		<title>小程序助手</title>
		<meta name="keywords" content="小程序助手,小程序商城,微信小程序,小程序">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<link href="static/miniApp/css/search.css" rel="stylesheet" />
		<link href="static/miniApp/css/index.css" rel="stylesheet" />
	</head>
	<body>
		<%@ include file="header.jsp"%>
		<div class="search-content">
			
			<div class="search-info">
				搜索"<a id="">${pd.keywords}</a>"信息
			</div>
			
			<div class="miniapp-list-content">
			    				<c:choose>
				<c:when test="${not empty proList}">
			    <ul class="miniapp-list-content-ul clearfix js-miniapp-list">
				<c:forEach items="${proList}" var="var" varStatus="vs">
	
					<li class="miniapp-item">
			        	<a class="miniapp__link" href="<%=basePath %>app/detail?ID=${var.ID}">
			        	<div class="miniapp-header">
				        	<img class="miniapp-header__app-icon" src=" <%=basePath %>uploadFiles/uploadImgs/pc/${var.PROD_ICON}" />
				        	<div class="app-header-corp">
				        		<span class="app-header-corp__app-name">${var.PROD_NAME }</span> 
				        		<span class="app-header-corp__auth-name">
				        			<span class="app-header-corp__name-tip">作者:</span>
				        			 ${var.AUTHOR}
				        		</span>
				        	</div>
				        	
				        	<div class="divrr">
				        		<img class="erweima" src="<%=basePath %>uploadFiles/uploadImgs/pc/${var.QR_CODE_ICON }" />
				        		<span class="miniapp-header__app-try js-miniapp-header-try">扫码体验</span>
				        	
					        	<div class="hover-erweima">
					        		<img src="<%=basePath %>uploadFiles/uploadImgs/pc/${var.QR_CODE_ICON }" />
					        		<p>扫码体验</p>
					        	</div>
				        	</div>	
			        	</div>
			        	</a>
			        </li>			
				</c:forEach>			    
			    </ul>
			</c:when>
				<c:otherwise>
				<tr class="main_info">
				<td colspan="100" class="center" >没有数据</td>
				</tr>
			</c:otherwise>
			</c:choose>
			   
			</div>
			
		</div>
		<%@ include file="footer.jsp"%>
	</body>
</html>
